import request from '@/utils/request';
import moment from 'moment'
import {getEW} from "@/utils/utils";
export async function query({...resetParams}) {
  return request(`/old_meter_logs`,{
    method:'GET',
    params:{
      ...resetParams,
      order_direction:'desc',company_ids:getEW(resetParams.company_ids),
    }
  });
}

